home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18453 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: ix.netcom.com!news
  2. From: miker3@ix.netcom.com (Mike Rubenstein)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: _int86 error
  5. Date: Sat, 20 Apr 1996 13:31:15 GMT
  6. Organization: Netcom
  7. Message-ID: <3178e570.226676874@nntp.ix.netcom.com>
  8. References: <4l1u2m$knj@news.sdsmt.edu>
  9. NNTP-Posting-Host: ix-dc12-18.ix.netcom.com
  10. X-NETCOM-Date: Sat Apr 20  8:28:12 AM CDT 1996
  11. X-Newsreader: Forte Agent .99d/32.182
  12.  
  13. jcf3820@silver.sdsmt.edu (James Foster) wrote:
  14.  
  15. > I'm getting an error when compiling in BC++ 4.5 when I use _int86 and
  16. > _outp ... says something like undefined symbol.. has anyone else ever
  17. > gotten this error, and what did you do to correct it?
  18. > thanks!
  19.  
  20. If you are really geting a message that says something like undefined
  21. symbol, get rid of the compiler.  A compiler should give a definite
  22. message.  If a symbol is undefined it should say so clearly.
  23.  
  24. The first step in resolving a problem is identifying it.  You have not
  25. done so.
  26.  
  27. I don't have BC++ 4.5, but from experience with other versions I'm
  28. quite confident it didn't say something like undefined symbol -- it
  29. said that a symbol was undefined and the message included the symbol.
  30.  
  31. I have gotten error messages about undefined symbols fairly often.
  32. I've used several methods to correct them:
  33.  
  34.     1.  Include a header file that defines the symbol.
  35.  
  36.     2.  Write code that defines the symbol.
  37.  
  38.     3.  Remove references to the symbol.
  39.  
  40.  
  41. Michael M Rubenstein
  42.